package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.WmsHandCmdMapper;
import com.ruoyi.system.domain.WmsHandCmd;
import com.ruoyi.system.service.IWmsHandCmdService;

/**
 * 落格回传Service业务层处理
 * 
 * @author ZYT
 * @date 2020-12-21
 */
@Service
public class WmsHandCmdServiceImpl implements IWmsHandCmdService 
{
    @Autowired
    private WmsHandCmdMapper wmsHandCmdMapper;

    /**
     * 查询落格回传
     * 
     * @param id 落格回传ID
     * @return 落格回传
     */
    @Override
    public WmsHandCmd selectWmsHandCmdById(Long id)
    {
        return wmsHandCmdMapper.selectWmsHandCmdById(id);
    }

    /**
     * 查询落格回传列表
     * 
     * @param wmsHandCmd 落格回传
     * @return 落格回传
     */
    @Override
    public List<WmsHandCmd> selectWmsHandCmdList(WmsHandCmd wmsHandCmd)
    {
        return wmsHandCmdMapper.selectWmsHandCmdList(wmsHandCmd);
    }

    /**
     * 新增落格回传
     * 
     * @param wmsHandCmd 落格回传
     * @return 结果
     */
    @Override
    public int insertWmsHandCmd(WmsHandCmd wmsHandCmd)
    {
        return wmsHandCmdMapper.insertWmsHandCmd(wmsHandCmd);
    }

    /**
     * 修改落格回传
     * 
     * @param wmsHandCmd 落格回传
     * @return 结果
     */
    @Override
    public int updateWmsHandCmd(WmsHandCmd wmsHandCmd)
    {
        return wmsHandCmdMapper.updateWmsHandCmd(wmsHandCmd);
    }

    /**
     * 批量删除落格回传
     * 
     * @param ids 需要删除的落格回传ID
     * @return 结果
     */
    @Override
    public int deleteWmsHandCmdByIds(Long[] ids)
    {
        return wmsHandCmdMapper.deleteWmsHandCmdByIds(ids);
    }

    /**
     * 删除落格回传信息
     * 
     * @param id 落格回传ID
     * @return 结果
     */
    @Override
    public int deleteWmsHandCmdById(Long id)
    {
        return wmsHandCmdMapper.deleteWmsHandCmdById(id);
    }
}
